package com.design.pattern.state;

public class Test {
	public static void main(String[] args) {
		Person object = new Person("John", new GoodCharacter());
		object.giveMeMoney();
		object = new Person("John", new BadCharacter());
		object.giveMeMoney();
	}
}
